home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
016
/
herc.arc
/
GFILL.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1986-03-15
|
304 b
|
20 lines
#define LINT_ARGS
extern void gline(int, int, int, int);
void gfill(int, int, int, int);
void gfill(x1, y1, x2, y2)
int x1, y1, x2, y2;
{
int tmp;
if(x1 > x2)
tmp = x2, x2 = x1, x1 = tmp;
while(x1 <= x2) {
gline(x1, y1, x1, y2);
x1++;
}
}